package com.woniuxy.entity;

import lombok.ToString;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * (RbacPerm)实体类
 *
 * @author mayuhang
 * @since 2021-04-25 23:04:55
 */
@ToString
public class RbacPerm implements Serializable {
    private static final long serialVersionUID = 186725222070624392L;

    private Integer id;

    private String name;

    private String code;

    private String link;

    private Integer parentId;

    private String type;

    private String status;

    private List<RbacPerm> children;

    public List<RbacPerm> getChildren() {
        return children;
    }

    public void setChildren(List<RbacPerm> children) {
        this.children = children;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

}
